package com.huaboot.system.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.huaboot.commont.utils.DateUtils;
import java.util.Date;

/**
* 对象存储表
*
* @author ff xxx
* @since 1.0.0 2023-09-28
*/
@Data
@Schema(description = "对象存储表")
public class SysObjectStoreVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	@Schema(description = "对象存储名称")
	private String objectStoreName;

	@Schema(description = "对象存储标识")
	private String objectStoreLabel;

	@Schema(description = "若为空，则使用默认值")
	private String domainUrl;

	@Schema(description = "accessKey  或 username")
	private String accessKey;

	@Schema(description = "密钥")
	private String accessKeySecret;

	@Schema(description = "地域节点 / 服务ip")
	private String endpoint;

	@Schema(description = "存储桶名称 /  服务器路径")
	private String bucket;

	@Schema(description = "信息是否完善")
	private Integer isPerfect;

	@Schema(description = "是否通过上传测试")
	private Integer isPassTest;

	@Schema(description = "版本号")
	private Integer version;

	@Schema(description = "删除标识")
	private Integer deleted;

	@Schema(description = "创建者")
	private Long creator;

	@Schema(description = "是否启用")
	private Integer enableState;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	@Schema(description = "更新者")
	private Long updater;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateTime;


}
